﻿ALTER TABLE [CoffeeShop].[OrderDetail]
    ADD CONSTRAINT [FK_Details_Orders] FOREIGN KEY ([OrderId]) REFERENCES [CoffeeShop].[Order] ([OrderId]) ON DELETE CASCADE ON UPDATE NO ACTION;

